body {
  background-color: var(--theme-page-bg);
}
.container {
  width: 1120px;
  margin: 0 auto;
}
.mask-nav {
  background-color: var(--theme-disable);
  width: 100vw;
  height: 100vh;
  position: fixed;
  opacity: 0.5;
  top: 48px;
  left: 0;
  display: none;
  z-index: 6;
}
#content {
  min-height: calc(100vh - 260px);
}

i {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.hide {
  display: none;
}

.show {
  display: block;
}

.current-version {
  font-size: 18px;
  color: #ffffff;
  line-height: 24px;
  padding: 16px 20px;
  padding-left: 62px;
  margin-bottom: 24px;
}

/* 404 */

.not-found {
  position: relative;
  margin-top: 180px !important;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.not-found img {
  width: 400px;
  height: 400px;
  display: block;
}

.not-found span {
  font-size: 48px;
  line-height: 48px;
  color: #000;
  font-weight: 400;
}

.page-title span {
  color: var(--theme-title);
  font-size: 14px;
}
/* 导航栏 */
.nav-box {
  width: 100%;
  height: 80px;
  position: fixed;
  top: 0;
  z-index: 1001;
  background: var(--theme-page-bg);
  border-bottom: #000000 2px;
}

.nav-box .nav-menu {
  display: flex;
  align-items: center;
  width: 100%;
}

.nav-menu .h5-right {
  display: none;
}

.nav-menu a img {
  display: block;
  height: 40px;
  margin: 20px 0;
}
.nav-menu a .h5-logo{
  width: 19px;
  height: 40px;
  background-image: url(../img/common/logo-light.png);
  background-size: 100% 100%;
}
.nav-menu a  .dark{
  background-image: url(../img/common/logo-dark.png);
}
.nav-menu .pc-logo {
  width: 336px;
  height: 80px;
  background: var(--theme-color);
  padding: 0 40px;
}

.nav-menu .pc-logo a img {
  display: block;
  width: 165px;
}

.h5_nav_left #img {
  display: block;
  width: 154px;
  height: auto;
}

.nav-menu > div .home {
  color: #000000;
  line-height: 16px;
  font-size: 16px;
  display: inline-block;
  margin-left: 20px;
  cursor: pointer;
}

.search-active {
  box-shadow: 0px 6px 30px 0px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid #00685a;
}

.menu-open {
  display: block;
  width: 24px;
  height: 24px;
  background-color: var(--theme-title);
  -webkit-mask-image: url(../img/common/menu.svg);
  mask-image: url(../img/common/menu.svg);
  mask-size: cover;
  -webkit-mask-size: cover;
  cursor: pointer;
  position: relative;
}
.menu-close {
  display: block;
  width: 24px;
  height: 24px;
  background-color: var(--theme-title);
  -webkit-mask-image: url(../img/common/x.svg);
  mask-image: url(../img/common/x.svg);
  mask-size: cover;
  -webkit-mask-size: cover;
  cursor: pointer;
  position: relative;
}

.theme-change {
  margin-left: 20px;
}
.theme-change i {
  display: block;
  width: 22px;
  height: 22px;
  cursor: pointer;
  position: relative;
  background-color: var(--theme-title);
  mask-size: cover;
  -webkit-mask-size: cover;
}

.theme-change i.light {
  -webkit-mask-image: url(../img/common/moon.svg);
  mask-image: url(../img/common/moon.svg);
}
.theme-change i.dark {
  -webkit-mask-image: url(../img/common/sun.svg);
  mask-image: url(../img/common/sun.svg);
}
.icon-earth {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url("../img/common/earth.svg");
  cursor: pointer;
  margin-right: 12px;
  vertical-align: bottom;
}

.icon-tick {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url("../img/common/tick.svg");
  cursor: pointer;
  margin-right: 12px;
  vertical-align: bottom;
}

.icon-down {
  display: block;
  width: 12px;
  height: 12px;
  margin-left: 4px;
  background-color: var(--theme-title);
  -webkit-mask-image: url(../img/common/icon-down.svg);
  mask-image: url(../img/common/icon-down.svg);
  mask-size: cover;
  -webkit-mask-size: cover;
}

.web-lang {
  margin-left: 20px;
}
.right-content {
  display: flex;
}
.nav-menu > div #lang,
#h5-menu-top .select-box {
  position: relative;
  font-size: 14px;
  font-weight: 400;
  color: var(--theme-title);
  line-height: 16px;
  display: flex;
  justify-content: space-around;
  box-sizing: border-box;
  align-items: center;
  cursor: pointer;
}
#lang .lang-text {
  margin-left: 20px;
}
#lang .action{
  color: var(--theme-active);
}

.nav-menu > div .option,
#h5-menu-top .select-box .option {
  display: none;
  border-radius: 4px;
  position: absolute;
  width: 85px;
  background: var(--theme-card-bg);
  box-shadow: var(--theme-shadow);
  padding: 0 16px;
  left: -15px;
  top: 32px;
  z-index: 1000;
}

.nav-menu > div .option a,
#h5-menu-top .select-box .option a {
  font-size: 14px;
  display: block;
  color: var(--theme-title);
  line-height: 48px;
  position: relative;
  z-index: 3;
  text-align: center;
}
.nav-menu > div .option a:first-child{
  border-bottom: 1px solid var(--theme-cross-line);
}
.active{
  color: var(--theme-active);
}

.nav-menu > div .angle,
#h5-menu-top .select-box .angle {
  position: absolute;
  top: -6px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 1px solid rgba(0, 104, 90, 0.5);
  border-left: 1px solid rgba(0, 104, 90, 0.5);
  background: var(--theme-card-bg);
  margin: 0 0 0 -5px;
  transform: rotate(45deg);
  z-index: 2;
}

/* 搜索部分 */

.search-docs {
  width: 100%;
  height: 400px;
  background: #00685a;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
}

.search-docs > div {
  display: flex;
  flex-direction: column;
}

.search-docs > div img {
  display: block;
  width: 319px;
  height: 144px;
  margin: 0 auto;
}

.search-docs > div h1 {
  font-size: 36px;
  color: #ffffff;
  line-height: 40px;
  margin: 20px auto 30px auto;
}

.search-docs > div .input {
  position: relative;
}

.search-docs > div .input input {
  width: 800px;
  height: 60px;
  background: var(--theme-card-bg);
  border-radius: 8px;
  padding: 20px 54px 20px 24px;
  font-size: 20px;
  color: rgba(0, 0, 0, 0.7);
  line-height: 20px;
  border: 0;
}

.search-docs > div .input input:focus {
  outline: 0;
}

.search-docs > div .icon-search {
  position: absolute;
  width: 28px;
  height: 28px;
  right: 26px;
  top: 16px;
}

.docs-footer {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--theme-cross-line);
  padding: 16px 0;
  margin-top: 40px;
}
.docs-footer-action {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.docs-footer-action a{
  flex: 1;
}
.docs-footer-action .doc-next{
  text-align: right;
}

/* 底部 */

.footer-wrapper {
  margin-left: 376px;
  width: 1352px;
  display: flex;
  padding: 40px 0;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--theme-cross-line);
}

.footer-wrapper .info p {
  font-size: 12px;
  color: var(--theme-text);
  line-height: 18px;
}
.footer-wrapper .info .email {
  margin-bottom: 8px;
}
.footer-wrapper .info .email a{
  color: var(--theme-text);
}

.footer-wrapper .footer-link {
  display: flex;
  color: var(--theme-text);
}
.footer-wrapper .footer-link a {
  font-size: 12px;
  color: var(--theme-text);
  padding: 0 12px;
  line-height: 22px;
}

.h5 {
  display: none;
}

.nav-box .nav-menu .h5_nav_left {
  display: none;
}

#result-container {
  display: none;
}

#result-container {
  display: none;
  position: fixed;
  top: 0px;
  right: 0px;
  background: var(--theme-card-bg);
  width: 37.5%;
  min-height: 100vh;
  z-index: 9999;
  padding: 30px 60px 110px 60px;
}

#result-container > .search-header {
  width: 100%;
}

#result-container > hr {
  width: 100%;
  height: 1px;
  border: 1px solid rgba(0, 0, 0, 0.5);
}

.baseof-mask {
  display: none;
  position: fixed;
  background: #000000;
  opacity: 0.1;
  width: 100%;
  height: 100vh;
  text-align: center;
  line-height: 100vh;
  top: 0;
  left: 0;
}
.baseof-mask img {
  display: none;
  box-sizing: content-box;
  width: 100px;
  background-color: #000;
}

#result-container > .search-header > input {
  width: 100%;
  height: 40px;
  padding-left: 12px;
  background: var(--theme-card-bg);
  box-shadow: 0px 3px 30px 0px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  border: 1px solid var(--theme-color);
  color: var(--theme-title);
}
#result-container > .search-header > i {
  width: 21px;
  height: 21px;
  position: relative;
  display: inline-block;
  top: -30px;
  margin-left: 92%;
}

.result-style {
  height: 90vh !important;
  overflow-y: auto !important;
  width: 100% !important;
}

#right-style {
  width: 1352px;
  margin: 0;
  margin-left: 40px;
  border-bottom: 1px solid var(--theme-cross-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-menu > div .mobile {
  display: none;
}

.h5-left {
  display: none;
}

.h5-head {
  display: none;
}
.h5-head img {
  cursor: pointer;
}

.menu-close {
  display: none;
}

@media screen and (max-width: 1900px) {
  #right-style,
  .footer-wrapper {
    width: 960px;
  }
}
@media screen and (max-width: 1515px) {
  #right-style,
  .footer-wrapper,
  #app {
    width: 750px;
  }
}
@media screen and (max-width: 1146px) {
  #right-style,
  .footer-wrapper,
  #app {
    width: 60vw;
  }
}
@media screen and (max-width: 1100px) {
  .pc-logo {
    display: none;
  }
  .docs-footer{
    font-size: 12px;
    line-height: 18px;
  }
  .sidebar #docstreeview ul {
    color: var(--theme-title);
  }
  .sidebar #docstreeview ul li ul li a {
    color: var(--theme-title) !important;
  }
  .sidebar #docstreeview ul li a p a {
    color: var(--theme-title) !important;
  }
  .h5-left .theme-change,
  .nav-menu .h5-left #lang {
    display: block;
  }
  .h5-head img {
    color: var(--theme-title);
  }
  .h5-head {
    display: flex;
    align-items: center;
  }
  .h5-head .log {
    margin-left: 16px;
    display: flex;
    align-items: center;
  }
  .h5-head .log::before {
    content: "";
    display: inline-block;
    margin-right: 12px;
    width: 1px;
    height: 10px;
    background-color: var(--theme-cross-line);
  }
  .h5-head .h5-title {
    margin-left: 8px;
    color: var(--theme-title);
  }
  #right-style,
  .nav-box {
    height: 48px;
  }
  .current-version {
    font-size: 16px;
    color: var(--theme-title);
    padding-left: 2vw;
    border-bottom: 1px solid var(--theme-cross-line);
  }
  .h5-left {
    position: absolute;
    top: 65px;
    right: 25vw;
  }
  .page-title {
    display: none;
  }
  .h5-left #lang {
    display: flex !important;
  }
  #result-container {
    width: 85vw;
    padding: 0;
  }
  #result-container > .search-header {
    width: 80%;
    padding-left: 16px;
    margin: 20px 0 0;
  }
  #result-container > .search-header > input {
    height: 25px;
  }
  #result-container > .search-header > i {
    top: -23px;
    margin-left: 105%;
  }
  #right-style,
  .footer-wrapper,
  .nav-box {
    width: 90vw;
    margin: 0 auto;
  }
  #app {
    padding: 0;
    width: 100vw;
    padding: 0 16px;
    padding-top: 0;
    background-color: var(--theme-card-bg);
  }
  #markdown h1::before {
    height: 24px !important;
  }
 
  .footer-wrapper{
    display: grid;
    text-align: center;
    padding: 24px 16px;
    width: 100%;
  }
  .footer-wrapper  .footer-link{
    order: -1;
    display: block;
    margin-bottom: 12px;
  }
  #result-container {
    display: none;
  }

  .nav-box .nav-menu .h5_nav_left {
    display: flex;
    align-items: center;
  }

  .nav-box .nav-menu .left {
    display: none;
  }
  .docs-footer-action .doc-next {
    float: left;
  }

  #all {
    display: block !important;
  }
  .h5 {
    display: block;
  }

  .container {
    width: 315px;
    margin: 0 auto;
  }
  .not-found {
    margin-top: 40px !important;
    flex-direction: column;
    justify-content: center;
  }

  .not-found img {
    width: 265px;
    height: 272px;
    margin: 30px auto 0 auto;
  }

  .not-found span {
    font-size: 24px;
    line-height: 34px;
    text-align: center;
  }
  /* 搜索框 */
  .h5-search {
    display: flex !important;
    flex-direction: row;
    justify-content: space-between;
  }
  .h5-search input {
    width: 256px;
    height: 32px;
    background: var(--theme-card-bg);
    border-radius: 4px;
    padding: 9px 12px;
    font-size: 12px;
    font-weight: 400;
    color: #000000;
    line-height: 14px;
    border: 1px solid rgba(0, 0, 0, 0.3);
  }

  .h5-search input:focus {
    outline: 0;
  }

  .h5-search .search-btn {
    width: 44px;
    height: 32px;
    background: #00685a;
    border-radius: 4px;
    font-size: 12px;
    color: #ffffff;
    line-height: 32px;
    text-align: center;
  }

  /* 导航栏 */
  .nav-menu > .right,
  .nav-menu > div .home {
    display: none;
  }

  .nav-box {
    width: 100vw;
    background-color: var(--theme-card-bg);
    box-shadow: 0px 3px 8px 0px var(--theme-shadow);
  }

  .nav-box .container {
    margin: 0 auto;
    width: 90vw;
  }

  .nav-menu .h5-right {
    display: flex;
    flex-direction: row;
    margin-right: 10px;
  }

  .nav-menu .h5-right i {
    display: block;
    width: 21px;
    height: 21px;
  }

  .nav-menu .h5-right .icon-lang {
    background-image: url("../img/common/lang.png");
    position: relative;
  }

  .nav-menu .h5-right .icon-home {
    background-image: url("../img/common/icon-home.svg");
    margin: 0 7px 0 32px;
  }

  .nav-menu > div .option {
    width: 90px;
    box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.1);
    left: -30px;
    top: 28px;
  }

  .nav-menu > div .option a {
    font-size: 16px;
    font-weight: 400;
    color: var(--theme-title);
    line-height: 24px;
    padding: 8px 0;
    text-align: center;
  }

  .nav-menu > div .option a:last-of-type {
    margin-bottom: 0;
  }

  /* 搜索 */
  .search-docs {
    height: 300px;
    margin-top: 70px;
  }
  .search-docs > div {
    flex-direction: column-reverse;
  }
  .search-docs > div img {
    width: 266px;
    height: 120px;
  }
  .search-docs > div h1 {
    width: 166px;
    height: 80px;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px auto;
    text-align: center;
  }
  .search-docs > div .input {
    display: none;
  }

  /* 底部 */
  .footer-wrapper .footer-content {
    flex-direction: column;
    height: 270px;
    justify-content: center;
  }

  .footer-content .footer-left p {
    font-size: 14px;
    margin-top: 10px;
  }

  .footer-content .footer-left {
    margin-bottom: 20px;
  }

  .footer-content .footer-left p:last-of-type {
    display: none;
  }

  .footer-content .footer-right p {
    text-align: center;
  }

  .footer-content .footer-right p:last-of-type {
    display: block;
    margin-top: 20px;
  }

  .nav-menu > div .mobile {
    display: inline;
    margin-left: -29px;
  }
}

.search-result {
  overflow-y: auto;
  max-height: 98vh;
}

i {
  font-style: normal;
}
